package com.example.recipesapp.repository

import com.example.recipesapp.data.RecipeDao

// 数据仓库 模糊搜索实现,
class RecipeRepository(private val dao: RecipeDao) {
    suspend fun searchRecipes(keyword: String) = dao.fuzzySearch(keyword)
    suspend fun getSteps(recipeId: Long) = dao.getSteps(recipeId)
}